import axios from 'axios'

/**
 * 登录接口
 * */
export const login = data => axios({
  url: 'http://localhost:9000/api/admin/user/login',
  method: 'post',
  data
})

/**
 * 拉取资料接口
 * */
export const info = data => axios({
  url: 'http://localhost:9000/api/admin/user/info',
  method: 'post',
  data
})

